#include<stdio.h>
#include<math.h>
int main()
#pragma warning(disable:4996)
{
	int a, b, c;
	scanf("%d %d %d", &a, &b, &c);
	int d = a + b + c;
	int p = d / 2;
	int e = sqrt(p * (p - a)* (p - b)*(p - c));
		printf("circumference = %.2f area = %.2f", d, e);
	return 0;
}